Back
CTR:

Syntax:

  • CTR Rd4 BS
Description:

Copies the data from a specified configuration register into register Rd4. The register Rd4 is written through Port 4 (P4). The address of the source configuration register is loaded prior to CTR by LCA instruction.

Note: The value of the configuration register is only available on the low bank, while the high bank is always zero.

Microcode Pattern:

Takes 2 cycles to execute.
    Example: CTR 0xa4 3

	  
	IOCODE  BS4  P4
	---------------
	C2R    -   -
	 -     3   a4

	  
Example :

AGU_ED ZERO 0x00000011  !! Generates 0x00000011 on the 
                        !! output of the accumulator
						
LCA                     !! Loads configuration address from 
                        !! the value of the accumulator, i.e., 
                        !! 0x11

CTR 0xa 3               !! Copies configuration address 0x11 
                        !! into the register address 0xa

APE Group Zeuthen. 2003

$Id: syntax.php,v 1.8 2004/08/04 09:25:34 noe Exp $